package com.fenghuajueli.lib_data.entity.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * ===========================================================
 * author：songpeng on 12/15/20 18:04
 * email：fenghuajueli@gmail.com
 * ===========================================================
 * 本地草稿箱数据，包括视频剪辑和卡点视频的
 */
@Entity(nameInDb = "local_all_draft")
public class LocalDraftEntity{

    @Id(autoincrement = true)
    private Long id;
    /**
     * 草稿箱名字
     */
    private String draftsName = "";
    /**
     * 封面路径
     */
    private String coverPath = "";

    /**
     * 修改时间
     */
    private long modifyTime = 0;

    /**
     * 时长
     */
    private long duration = 0;

    private String draftType = "";

    /**
     * 当前草稿类型的配置数据
     */
    private String jsonData = "";

    /**
     * 预留字段1
     */
    private String reserve1 = "";

    /**
     * 预留字段2
     */
    private String reserve2 = "";

    @Generated(hash = 1408946273)
    public LocalDraftEntity(Long id, String draftsName, String coverPath, long modifyTime,
            long duration, String draftType, String jsonData, String reserve1, String reserve2) {
        this.id = id;
        this.draftsName = draftsName;
        this.coverPath = coverPath;
        this.modifyTime = modifyTime;
        this.duration = duration;
        this.draftType = draftType;
        this.jsonData = jsonData;
        this.reserve1 = reserve1;
        this.reserve2 = reserve2;
    }

    @Generated(hash = 618248208)
    public LocalDraftEntity() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDraftsName() {
        return this.draftsName;
    }

    public void setDraftsName(String draftsName) {
        this.draftsName = draftsName;
    }

    public String getCoverPath() {
        return this.coverPath;
    }

    public void setCoverPath(String coverPath) {
        this.coverPath = coverPath;
    }

    public long getModifyTime() {
        return this.modifyTime;
    }

    public void setModifyTime(long modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getDraftType() {
        return this.draftType;
    }

    public void setDraftType(String draftType) {
        this.draftType = draftType;
    }

    public String getJsonData() {
        return this.jsonData;
    }

    public void setJsonData(String jsonData) {
        this.jsonData = jsonData;
    }

    public String getReserve1() {
        return this.reserve1;
    }

    public void setReserve1(String reserve1) {
        this.reserve1 = reserve1;
    }

    public String getReserve2() {
        return this.reserve2;
    }

    public void setReserve2(String reserve2) {
        this.reserve2 = reserve2;
    }

    public long getDuration() {
        return this.duration;
    }

    public void setDuration(long duration) {
        this.duration = duration;
    }



}
